<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
          <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript" src="jquery-1.7.2.js"></script>
<font size='3' color='#d2b48c' class="title">전국 Erun Cinema 상영관의 전날 예매 및 입장객 합을 기준으로 순위 정보를 소개합니다.</font>
<hr color="#f5f5f5">
<c:forEach items="${requestScope.list}" var="movie">
<table width='90%' style='table-layout: fixed' align='center' height="200" >
	<tr>
		<td valign="bottom" rowspan="5" width="100" align='left'><img src="img.rank/${movie.RK}.png"></td>
		<td rowspan="5" width="200" align="left"><a href="movie.do?command=getMovieDetail&movie_no=${movie.MOVIE_NO}"><img src="img.poster/${movie.MOVIE_NO}.jpg" width="180" height="200"/></a></td>
		<td><b><font size="3"><a href="movie.do?command=getMovieDetail&movie_no=${movie.MOVIE_NO}">${movie.MOVIE_TITLE}</a></font></b> <img src="img.grade/${movie.MOVIE_GRADE_NO}.png"></td>
		<td rowspan='3' valign="bottom" width="120"><b><font color='#f08080'>관람율</font></b>&nbsp;&nbsp;&nbsp;<b><font size='3' color='#ffa07a'>${movie.RATE}%</font></b></td>		
	</tr>
	<tr>
		<td><b><font color="#696969">기본정보</font></b>&nbsp;&nbsp;<font color="#696969">${movie.GENRE}&nbsp;&nbsp;|&nbsp;&nbsp;${movie.COUNTRY}&nbsp;&nbsp;|&nbsp;&nbsp;${movie.RUNNING_TIME}분</font></td>
	</tr>
	<tr>
		<td><b><font color="#696969">감독</font></B>&nbsp;&nbsp;<font color="#696969">${movie.DIRECTOR}</font></td>
	</tr>
	<tr>
		<td><b><font color="#696969">출연</font></b>&nbsp;&nbsp;<font color="#696969">${movie.ACTOR}</font></td>
		<td rowspan="2" width="150" valign="bottom"><a href="reservation.do?command=reservation"><img src="img/btn_ticketing.gif"></a></td>
	</tr>
	<tr>
		<td><b><font color="#696969">개봉일</font></b>&nbsp;&nbsp;<b><font color="red">${movie.OPENING_DAY}</font></b></td>
	</tr>
</table>
<hr color="#f5f5f5">
</c:forEach>